#ifndef REGISTER_H
#define REGISTER_H

#include <QWidget>
#include <QString>
#include <QLineEdit>
class Register : public QWidget
{
    Q_OBJECT
public:
     Register(QWidget *parent = nullptr);
    ~Register();
    const QString filePath{"./../../../Account"};
// signals:
   // void clicked(QString name,QString Account,QString Password,QString APassword,QWidget *parent);
     void Parameters(QString name = "",QString Account = "",QString Password = "",QString APassword = "",QString Identify = "",QWidget *parent = nullptr);
     void ZhuCe();
     void CLEAR();
     bool ensureDirExists(const QString &dirPath);
 private:
    QString name;
    QString Account;
    QString Password;
    QString APassword;
    QString Identify;
    QWidget *parent;
    QLineEdit *RLEdit0 = new QLineEdit();
    QLineEdit *RLEdit1 = new QLineEdit();
    QLineEdit *RLEdit2 = new QLineEdit();
    QLineEdit *RLEdit3 = new QLineEdit();
    QLineEdit *RLEdit4 = new QLineEdit();
    int flag = 0;

};

#endif // REGISTER_H
